package site.kexing.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import site.kexing.pojo.Product_Schedule;
import java.util.List;

@Mapper
@Repository
public interface Product_ScheduleMapper {
    //查询所有工单
    List<Product_Schedule> selectAllProduct_Schedule();
    Product_Schedule selectProduct_ScheduleByID(Integer id);
    int updateProduct_Schedule(Product_Schedule product_schedule);
    int deleteProduct_Schedule(Integer id);
    int insertProduct_Schedule(Product_Schedule product_schedule);
    List<Product_Schedule> selectProduct_ScheduleByPlanID(Integer plan_id);
    //更改计划状态为已完成
    int updateProduct_plan_status(Integer plan_id);
}
